using System;

using NetBpm.Workflow.Definition.Attr;

namespace NetBpm.Workflow.Delegation.Impl.Decision
{
	/// <summary>
	/// Summary description for Decision.
	/// </summary>
	public class Decision : IDecisionHandler
	{
		public String Decide(IDecisionContext decisionContext)
		{

			String attributeName = (String) decisionContext.GetConfiguration()["transition"];
			Object attributeValue = decisionContext.GetAttribute(attributeName);

			return (string)attributeName;
		}
	}
}
